package com.message;

import com.constant.MessageType;
import lombok.Data;

@Data
public class RpcRespMessage extends DefaultMessage{

    private Throwable t;

    private Object result;

    public RpcRespMessage() {
    }

    @Override
    public int getMessageType() {
        return MessageType.RPC_MESSAGE_RESP;
    }
}
